package com.yx.fx.webApi.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.yx.fx.webApi.entity.TEnterprise;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yx.fx.webApi.vo.TEnterpriseVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.data.domain.Page;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author pxb
 * @since 2021-09-17
 */
@Mapper
public interface TEnterpriseMapper extends BaseMapper<TEnterprise> {


    List<TEnterpriseVo> findEnterprise(TEnterprise tEnterprise);
    TEnterprise getLastDate();
    @Select("select * from t_enterprise")
    IPage<TEnterpriseVo> findEnterprise1(Page<?> page,Integer astate);

}

